package com.dragonsoftbravo.sqlbuilder.sql.where;

import java.util.Arrays;

import com.dragonsoftbravo.sqlbuilder.sql.query.QueryWhereConst;
import com.dragonsoftbravo.sqlbuilder.sql.query.SqlQueryWhereConst;

public class SqlQueryWhere extends BuildWhere<QueryWhereConst>{

	public SqlQueryWhere(StringBuilder sqlBuilder) {
		super(sqlBuilder);
	}

	@Override
	public QueryWhereConst where(String... args) {
		return where(Arrays.asList(args));
	}

	@Override
	public QueryWhereConst where(Iterable<String> args) {
		buildWhere(args);
		return new SqlQueryWhereConst(sqlBuilder);
	}

}
